package extractor;

import java.util.logging.Level;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		MyLogger.setup(Level.WARNING, Level.FINEST);
		Extractor ext = new Extractor(args[0]);
		ext.beginExtraction();
		ext.findAndExtractNestedRar();
		if(ext.findTargetFiles()) {
			ext.cleanUp();
		}
	}

}
